home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / maestro / source / videbjct / sny1550d.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-15  |  3.5 KB  |  97 lines

  1. /*
  2.  * Copyright (c) 1990, 1991, 1992 Stanford University
  3.  *
  4.  * Permission to use, copy, modify, and distribute this software and 
  5.  * its documentation for any purpose is hereby granted without fee, provided
  6.  * that (i) the above copyright notices and this permission notice appear in
  7.  * all copies of the software and related documentation, and (ii) the name
  8.  * Stanford may not be used in any advertising or publicity relating to
  9.  * the software without the specific, prior written permission of
  10.  * Stanford.
  11.  * 
  12.  * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  13.  * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  14.  * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  15.  *
  16.  * IN NO EVENT SHALL STANFORD BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
  17.  * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES
  18.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT
  19.  * ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY,
  20.  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  21.  * SOFTWARE.
  22.  */
  23.  
  24. /* $Header: /Source/Media/collab/VideoObject/RCS/Sony1550Driver.h,v 1.7 92/09/01 17:11:10 drapeau Exp $ */
  25. /* $Log:    Sony1550Driver.h,v $
  26.  * Revision 1.7  92/09/01  17:11:10  drapeau
  27.  * Updated copyright notice.
  28.  * Also, added function prototypes to function definitions for better
  29.  * ANSI compliance.
  30.  * 
  31.  * Revision 1.6  92/01/03  16:55:21  drapeau
  32.  * Removed inclusion of string.h so as not to conflict with other files
  33.  * that use this driver.
  34.  * 
  35.  * Revision 1.5  91/09/30  17:08:28  lim
  36.  * Added Sony1550Ping.
  37.  * 
  38.  * Revision 1.4  91/08/24  13:39:18  lim
  39.  * 1. Updated to use status codes in new PlayerStatus.h
  40.  * 2. Clear Marker() removed as part of video object.
  41.  * 
  42.  * Revision 1.3  91/08/07  13:46:59  lim
  43.  * *** empty log message ***
  44.  * 
  45.  * Revision 1.2  91/08/07  13:18:08  lim
  46.  * 1. Included "videoObj.h" and "PlayerStatus.h"
  47.  * 
  48.  * Revision 1.1  91/07/29  22:22:01  lim
  49.  * Initial revision
  50.  * 
  51.  * Revision 0.10  91/07/02  13:32:05  lim
  52.  * Initial revision.
  53.  *  */
  54.  
  55. #include <ctype.h>
  56. #include <fcntl.h>
  57. #include <sys/termio.h>
  58. #include <stdio.h>
  59. #include "PlayerStatus.h"
  60. #include "videoObj.h"
  61.  
  62. /*
  63.   All positive numbers are player return code (except zero) or player
  64.   commands
  65.  
  66.   Negative numbers are error codes
  67. */
  68.  
  69. static char vhrcsid[] = "$Header: /Source/Media/collab/VideoObject/RCS/Sony1550Driver.h,v 1.7 92/09/01 17:11:10 drapeau Exp $";
  70.  
  71.  
  72. int Sony1550Play            (VideoObject*);
  73. int Sony1550PlayFromTo            (VideoObject*, int, int, int);
  74. int Sony1550FastForward            (VideoObject*);
  75. int Sony1550Reverse            (VideoObject*);
  76. int Sony1550CalcSpeed            (VideoObject*, int, int);
  77. int Sony1550PlayAtSpeedDir        (VideoObject*, int, enum Direction);
  78. int Sony1550Step            (VideoObject*, enum Direction);
  79. int Sony1550Still            (VideoObject*);
  80. int Sony1550Stop            (VideoObject*);
  81. int Sony1550SetDefaults            (VideoObject*, int, int, int, int);
  82. int Sony1550SetAudio            (VideoObject*, int);
  83. int Sony1550SetVideo            (VideoObject*, int);
  84. int Sony1550SetAddMode            (VideoObject*, int);
  85. int Sony1550SetAddressDisplay        (VideoObject*, int, int);
  86. int Sony1550Eject            (VideoObject*);
  87. int Sony1550Power            (VideoObject*, int);
  88. int Sony1550QueryFrame            (VideoObject*);
  89. int Sony1550QueryChapter        (VideoObject*);
  90. int Sony1550QueryAudio            (VideoObject*);
  91. int Sony1550QueryVideo            (VideoObject*);
  92. int Sony1550QueryMedium            (VideoObject*, char*);
  93. int Sony1550QueryStatus            (VideoObject*);
  94. int Sony1550Ping            (VideoObject*);
  95. void Sony1550ErrorDecode        (VideoObject*, int, char*);
  96.  
  97.